package com.htfyun.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.NotNull;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by sst on 2017/12/29.
 */
@Entity(indexes = {
        @Index(value = "date DESC", unique = true)
})
public class PWNote {

    @Id
    private Long id;

    @NotNull
    private String uuid;

    private String name;

    private int pngCount;
    
    private String comment;

    private java.util.Date date;

@Generated(hash = 1369661760)
public PWNote(Long id, @NotNull String uuid, String name, int pngCount,
        String comment, java.util.Date date) {
    this.id = id;
    this.uuid = uuid;
    this.name = name;
    this.pngCount = pngCount;
    this.comment = comment;
    this.date = date;
}

@Generated(hash = 1547746956)
public PWNote() {
}

public Long getId() {
    return this.id;
}

public void setId(Long id) {
    this.id = id;
}

public String getUuid() {
    return this.uuid;
}

public void setUuid(String uuid) {
    this.uuid = uuid;
}

public String getName() {
    return this.name;
}

public void setName(String name) {
    this.name = name;
}

public int getPngCount() {
    return this.pngCount;
}

public void setPngCount(int pngCount) {
    this.pngCount = pngCount;
}

public String getComment() {
    return this.comment;
}

public void setComment(String comment) {
    this.comment = comment;
}

public java.util.Date getDate() {
    return this.date;
}

public void setDate(java.util.Date date) {
    this.date = date;
}

}
